package com.lc.login.retrofit;

import com.lc.baseres.base.BaseJson;
import com.lc.login.bean.UserSimpleInfo;

import io.reactivex.Observable;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * @author LiuChao
 * @describe
 * @date 2018/6/25
 * @contact email:450127106@qq.com
 */
public interface LoginService {
    @GET("/user/checkLogin")
    Observable<BaseJson<UserSimpleInfo>> checkLogin(@Query("username") String name, @Query("password") String password);
}
